<!--审批对话-->
<form name="myform" novalidate>
    <table width="100%">
        <tr class="ng-hide" ng-show="!!data.b_authorize_payId">
            <td width="125" align="right" class="form-cell" valign="top">流水号</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="serial_number" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.serial_number">
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>收款方公司名称</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="account_name" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.account_name"
                       required>
                <p class="error ng-hide" ng-show="myform.account_name.$invalid && myform.$submitted">收款方公司名称必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>开户银行</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="account_bank" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.account_bank"
                       required>
                <p class="error ng-hide" ng-show="myform.account_bank.$invalid && myform.$submitted">开户银行必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>银行账号</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="account_number" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.account_number"
                       required>
                <p class="error ng-hide" ng-show="myform.account_number.$invalid && myform.$submitted">银行账号必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>付款金额（元）</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="number" name="amount" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.amount"
                       required min="1" max="1000000" integer>
                <p class="error ng-hide" ng-show="myform.amount.$invalid && myform.$submitted">付款金额必须填写且大于0
                    <span class="error ng-hide" ng-show="myform.amount.$error.integer">且为整数</span>
                    <span class="error ng-hide" ng-show="myform.amount.$error.max">且值不能太大</span>
                </p>
            </td>
            <td class="form-cell" valign="top"></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>付款类型</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="pay_type" ui-combobox data="parent.baseData.payTypeList" text-field="text" value-field="text" style="width: 300px"
                       ng-model="data.pay_type" ng-disabled="!!data.b_authorize_payId"
                       required>
                <p class="error ng-hide" ng-show="myform.pay_type.$invalid && myform.$submitted">付款类型必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>收款方责任人</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="reciever" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.reciever"
                       required>
                <p class="error ng-hide" ng-show="myform.reciever.$invalid && myform.$submitted">收款方责任人必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top"><span class="c-red">* </span>责任人手机</td>
            <td valign="top" style="padding-bottom: 10px">
                <input type="text" name="reciever_mobil" class="input-text" style="width: 300px"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.reciever_mobil"
                       required>
                <p class="error ng-hide" ng-show="myform.reciever_mobil.$invalid && myform.$submitted">责任人手机必须填写</p>
            </td>
            <td></td>
        </tr>
        <tr>
            <td align="right" class="form-cell" valign="top">付款说明</td>
            <td valign="top" style="padding-bottom: 10px">
                <textarea type="text" class="input-text" style="width: 300px; height: 80px;"
                       ng-readonly="!!data.b_authorize_payId"
                       ng-disabled="!!data.b_authorize_payId"
                       ng-model="data.memo"></textarea>
            </td>
            <td></td>
        </tr>
    </table>
</form>
